FILE_ATTRIBUTE_READONLY=0x00000001
FILE_ATTRIBUTE_HIDDEN=0x00000002
FILE_ATTRIBUTE_SYSTEM=0x00000004
FILE_ATTRIBUTE_DIRECTORY=0x00000010
FILE_ATTRIBUTE_ARCHIVE=0x00000020
FILE_ATTRIBUTE_DEVICE=0x00000040
FILE_ATTRIBUTE_NORMAL=0x00000080
FILE_ATTRIBUTE_TEMPORARY=0x00000100
FILE_ATTRIBUTE_SPARSE_FILE=0x00000200
FILE_ATTRIBUTE_REPARSE_POINT=0x00000400
FILE_ATTRIBUTE_COMPRESSED=0x00000800
FILE_ATTRIBUTE_OFFLINE=0x00001000
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED=0x00002000
FILE_ATTRIBUTE_ENCRYPTED=0x00004000

# DesiredAccess flags
FILE_READ_DATA=0x00000001
FILE_WRITE_DATA=0x00000002
FILE_APPEND_DATA=0x00000004
FILE_EXECUTE=0x00000020
MAXIMUM_ALLOWED=0o200000000
GENERIC_ALL=0x10000000
GENERIC_EXECUTE=0x20000000
GENERIC_WRITE=0x40000000
GENERIC_READ=0x80000000

CREATE_NEW=1
CREATE_ALWAYS=2
OPEN_EXISTING=3
OPEN_ALWAYS=4
TRUNCATE_EXISTING=5

ERROR_FILE_EXISTS=80
ERROR_ALREADY_EXISTS=183
ERROR_FILE_NOT_FOUND=2

MAX_PATH=260